package com.example.chapter12.design.factory.demo3;

import com.example.chapter12.design.factory.demo1.Fruit;

import java.util.List;

public class Apple1 implements Fruit {
    private String a;
    private String b;
    private List<String > list;

    public Apple1(String a, String b, List<String> list) {
        this.a = a;
        this.b = b;
        this.list = list;
    }

    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }
}
